package com.bajie.bjlisten.api;


import com.bajie.bjlisten.entity.BjUser;
import com.bajie.bjlisten.entity.Token;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "登录", description = "登录相关接口")
public interface LoginControllerApi {

    @ApiOperation("web端登陆")
    public void login(String username, String password);

    @ApiOperation("Restful方式登陆,前后端分离时登录接口")
    public Token restfulLogin(String username, String password);

    @ApiOperation("当前登录用户")
    public BjUser getLoginInfo();
}
